package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysDictData extends TableDef {

    public static final TSysDictData sys_dict_data = new TSysDictData("sys_dict_data");

    public QueryColumn dict_code = new QueryColumn(this, "dict_code");
    public QueryColumn dict_sort = new QueryColumn(this, "dict_sort");
    public QueryColumn dict_label = new QueryColumn(this, "dict_label");
    public QueryColumn dict_value = new QueryColumn(this, "dict_value");
    public QueryColumn dict_type = new QueryColumn(this, "dict_type");
    public QueryColumn css_class = new QueryColumn(this, "css_class");
    public QueryColumn list_class = new QueryColumn(this, "list_class");
    public QueryColumn is_default = new QueryColumn(this, "is_default");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn remark = new QueryColumn(this, "remark");

    public QueryColumn[] default_columns = new QueryColumn[]{dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark};
    public QueryColumn[] all_columns = new QueryColumn[]{dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark};

    public TSysDictData(String tableName) {
        super(tableName);
    }
}
